package com.butnet.myframe.hql.query;

import java.util.List;

public class PageList<T> {
	private int allCount = -1;
	private List<T> list = null;
	
	public PageList() {
	}
	public PageList(int allCount, List<T> list) {
		this.allCount = allCount;
		this.list = list;
	}

	public int getAllCount() {
		return allCount;
	}

	public void setAllCount(int allCount) {
		this.allCount = allCount;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}

}
